﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FrmHorarios.aspx.cs" Inherits="UI.Sistemas.FrmHorarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

         .style4
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
        background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;
            color: #333333;
            text-align: left;
            font-size: 11px;
            font-weight: bold;
            padding-top: 4px;
            padding-left: 4px;
            font-family: tahoma,arial,verdana,sans-serif;
            height: 30px;
        }
        .style56
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
   /* background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;*/
        color: #333333;
            text-align: left;
            font-size: 11px;
            font-weight: bold;
            padding-top: 4px;
            padding-left: 4px;
            font-family: tahoma,arial,verdana,sans-serif;
            width: 126px;
        }
        .style59
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
   /* background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;*/
    /*color: #333333;*/
        text-align: left; /*line-height: 0px;*/;
            font-size: 11px; /*font-weight: bold;*/ /*padding-top: 4px;
    padding-left: 4px;*/;
            font-family: tahoma,arial,verdana,sans-serif;
            width: 160px;
        }
        .style58
        {
            width: 11px;
        }
                        
         .style52
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
   /* background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;*/
        color: #333333;
            text-align: left;
            font-size: 11px;
            font-weight: bold;
            padding-top: 4px;
            padding-left: 4px;
            font-family: tahoma,arial,verdana,sans-serif;
            width: 54px;
        }
        .style57
        {
            height: 25px;
            width: 126px;
        }
        .style60
        {
            width: 160px;
        }
                        
         .style42
        {
            height: 25px;
            width: 54px;
        }
        .style2
        {
            height: 25px;
        }
                
         .style61
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
   /* background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;*/
    /*color: #333333;*/
        text-align: left; /*line-height: 0px;*/;
            font-size: 11px; /*font-weight: bold;*/ /*padding-top: 4px;
    padding-left: 4px;*/;
            font-family: tahoma,arial,verdana,sans-serif;
            width: 180px;
        }
        .style63
        {
            height: 25px;
            width: 180px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table frame="border" style="width: 845px" __designer:mapid="a8">
        <tr __designer:mapid="a9">
            <td class="style4" colspan="6" __designer:mapid="aa">
                HORARIOS DEL SEMESTRE</td>
        </tr>
        <tr __designer:mapid="ab">
            <td class="style56" __designer:mapid="ac" id="s">
                SEMESTRE</td>
            <td class="style59" __designer:mapid="ad">
                <asp:DropDownList runat="server" Height="16px" Width="135px" ID="ComboSemestre" 
                    AutoPostBack="True" onselectedindexchanged="ComboSemestre_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="style58" __designer:mapid="af">
                            &nbsp;
                        </td>
            <td class="style52" __designer:mapid="b0">
                &nbsp;</td>
            <td class="style61" __designer:mapid="b1">
                &nbsp;</td>
            <td class="filaTablaBlanco" __designer:mapid="b1">
                &nbsp;</td>
        </tr>
        <tr __designer:mapid="b3">
            <td class="style56" __designer:mapid="b4">
                ESPECIALIDAD</td>
            <td class="style59" __designer:mapid="b6">
                <asp:DropDownList runat="server" Height="23px" Width="370px" 
                    ID="ComboEspecialidad" AutoPostBack="True" 
                    onselectedindexchanged="ComboEspecialidad_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="style58" __designer:mapid="b8">
                            &nbsp;
                        </td>
            <td class="style52" __designer:mapid="b9">
                CICLO</td>
            <td class="style61" __designer:mapid="ba">
                <asp:DropDownList runat="server" Height="22px" Width="148px" ID="ComboCiclo" 
                    AutoPostBack="True" onselectedindexchanged="ComboCiclo_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td class="filaTablaBlanco" __designer:mapid="ba">
                <asp:Button ID="btnBuscar" runat="server" Height="34px" 
                    href="../Tesoreria/frmReporteActaPromocionalPdf2.aspx" target="_blank" Text="Consultar" 
                    Width="87px" onclick="btnBuscar_Click"  />
            </td>
        </tr>
        <tr __designer:mapid="c7">
            <td class="style57" __designer:mapid="c8">
                &nbsp;</td>
            <td class="style60" __designer:mapid="cc">
                <asp:Label ID="labelErrorCp" runat="server" ForeColor="Red"></asp:Label>
            </td>
            <td class="style58" __designer:mapid="cf">
                            &nbsp;
                        </td>
            <td class="style42" __designer:mapid="d0">
                            &nbsp;
                        </td>
            <td class="style63" __designer:mapid="d1">
                            &nbsp;
                        </td>
            <td class="style2" __designer:mapid="d1">
                &nbsp;</td>
        </tr>
    </table>
    <br />
                        <asp:GridView runat="server" AutoGenerateColumns="False" 
        DataKeyNames="id" Width="557px" ID="GridDetalle" onrowdatabound="GridDetalle_RowDataBound" 
       ><Columns>
<asp:BoundField DataField="id" HeaderText="id" Visible="False"></asp:BoundField>
<asp:BoundField DataField="subido" HeaderText="subido">
</asp:BoundField>
                                <asp:BoundField DataField="Dia" HeaderText="Dia" />
                                <asp:BoundField DataField="Inicio" HeaderText="Inicio" />
                                <asp:BoundField DataField="Fin" HeaderText="Fin" />
<asp:BoundField DataField="Curso" HeaderText="Curso" Visible="False">
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:BoundField>
<asp:TemplateField HeaderText="Curso"><ItemTemplate>
                                        <%--    <asp:Label ID="Label1" Text='<%#Eval("Concepto") %>' runat="server">
                                </asp:Label>--%>
                                        <asp:TextBox ID="txtCurso" runat="server" Visible="false" Text='<%#Eval("IDCurso") %>'
                                            Width="70px">
                                        </asp:TextBox>
                                        <asp:DropDownList ID="comboCurso" AutoPostBack="true" runat="server" Width="270px"
                                            OnSelectedIndexChanged="onComboCursoSelected">
                                            <asp:ListItem Value="00">--Seleccione--</asp:ListItem>
                                        </asp:DropDownList>
                                    
</ItemTemplate>
</asp:TemplateField>
<asp:CommandField InsertImageUrl="~/Imagenes/Iconos/back.png" SelectText="ELIMINAR" ShowSelectButton="True"></asp:CommandField>
</Columns>
</asp:GridView>

                        <br />
</asp:Content>
